package yf.mall.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yf.mall.entity.AppMaterialEntity;
import yf.mall.entity.AppMaterialEntityExample;

@Mapper
@Repository
public interface AppMaterialExtMapper {
    long countByExample(AppMaterialEntityExample example);

    int deleteByExample(AppMaterialEntityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AppMaterialEntity record);

    int insertSelective(AppMaterialEntity record);

    List<AppMaterialEntity> selectByExample(AppMaterialEntityExample example);

    AppMaterialEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AppMaterialEntity record, @Param("example") AppMaterialEntityExample example);

    int updateByExample(@Param("record") AppMaterialEntity record, @Param("example") AppMaterialEntityExample example);

    int updateByPrimaryKeySelective(AppMaterialEntity record);

    int updateByPrimaryKey(AppMaterialEntity record);
}